package com.zx.sericefeign.service.impl;

import com.zx.sericefeign.service.SchedualServiceHi;
import org.springframework.stereotype.Component;

/**
 * @Description SchedualServiceHiHystrix
 * 创建实现类，断路器返回String
 * @Author Zhang Xin
 * @Date 2020/7/22
 */
@Component
public class SchedualServiceHiHystrix implements SchedualServiceHi {
    @Override
    public String sayHiFromClientOne(String name) {
        return "sorry "+name+",Hystrix断路器 error";
    }
}
